/* Reset default margins and set full height */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

.layout-container {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-layout {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.logo-container {
  height: 64px;
  margin: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
}

.logo-container.expanded {
  justify-content: flex-start;
}

.logo-container.collapsed {
  justify-content: center;
}

.logo-image {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-text {
  color: white;
  font-size: 20px;
  margin-left: 12px;
  font-weight: bold;
}

.header {
  padding: 0;
  height: 64px;
  line-height: 64px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-right: 24px;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
}

.toggle-button {
  font-size: 16px;
  width: 64px;
  height: 64px;
}

/* 面包屑样式 */
.ant-breadcrumb {
  margin-left: 16px;
}

.ant-breadcrumb ol {
  display: flex;
  align-items: center;
}

.ant-breadcrumb span {
  cursor: pointer;
  color: rgba(0, 0, 0, 0.45);
}

.ant-breadcrumb span:hover {
  color: #1890ff;
}

/* 用户信息样式 */
.user-info {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0 8px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.user-info:hover {
  background-color: rgba(0, 0, 0, 0.025);
}

.username {
  margin-left: 8px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
}

.content {
  flex: 1;
  margin: 24px 16px;
  padding: 24px;
  overflow: auto;
}

.footer {
  text-align: center;
  height: 48px;
  line-height: 48px;
  padding: 0;
}
